﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using DoeObjects;

namespace DoeLibsMVC.Controllers.api
{
    public class PublisherController : ApiController
    {
        public List<string> Get(string q = null)
        {
            return Publisher.getByName(q, true).Select(p => p.Name).ToList();
        }
    }
}
